package com.liuyi.netty.im.test.modular.websocket;

import lombok.Data;

import java.io.Serializable;

/**
 * @author Mr.Fmy
 * @since 2022/1/21
 */
@Data
public class WsMsg implements Serializable {


    private WebSocketConfig.WsMsgType type;

    private Object content;

    public WsMsg() {
    }

    public WsMsg(WebSocketConfig.WsMsgType type, Object content) {
        this.type = type;
        this.content = content;
    }
}
